#ifndef LOMPROPERTYHH
#define LOMPROPERTYHH
#include "lom-typedefs.hh"
#include "lom-errors.hh"

namespace lom
{
    struct LomProperty
    {
	licada::TNameStr name;
	EDataType type;
	LomProperty(){}
	LomProperty( licada::TNameStr _name, EDataType _type ) : name( _name ), type(_type){}
    };

    class DuplicatePropertyAdded : public LomError
    {
	LomProperty property;
    public:
	DuplicatePropertyAdded( const LomProperty& prop ) : property( prop ){}
    };

    typedef std::vector<LomProperty> TPropertyVector;
}
#endif
